<?php
/**
 * Created by PhpStorm.
 * User: pf
 * Date: 2017/11/6
 * Time: 16:53
 */
namespace App\imageType;

use Intervention\Image\Image;
use Intervention\Image\Filters\FilterInterface;
class Thumb implements FilterInterface
{
    public function applyFilter(Image $image)
    {
        return  $image->fit(270, 168);
    }
}